package com.dengbw.systemtransfer.model.db;


import lombok.*;
import io.swagger.annotations.ApiModelProperty;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;

@Getter
@Setter
@NoArgsConstructor
@AllArgsConstructor
public class PstFarmerBasic {

	@TableId(type = IdType.AUTO)
	/**
	 * ID 
	 */
	@ApiModelProperty(value = "ID ", position = 0)
	private Long id;

	/**
	 * 配置ID
	 */
	@ApiModelProperty(value = "配置ID", position = 1)
	private Long configId;

	/**
	 * 人员id
	 */
	@ApiModelProperty(value = "人员id", position = 2)
	private Long farmerId;

	/**
	 * 字段key name
	 */
	@ApiModelProperty(value = "字段key name", position = 3)
	private String fieldKey;

	/**
	 * 字段名 name
	 */
	@ApiModelProperty(value = "字段名 name", position = 4)
	private String fieldName;

	/**
	 * 字段值 name
	 */
	@ApiModelProperty(value = "字段值 name", position = 5)
	private String fieldValue;

	/**
	 * 值类型#'1':'默认输入','2':'是与否','3':'候选项','4':'日期','5':'数字'
	 */
	@ApiModelProperty(value = "值类型#'1':'默认输入','2':'是与否','3':'候选项','4':'日期','5':'数字'", position = 6)
	private Integer valueType;

	/**
	 * 候选项
	 */
	@ApiModelProperty(value = "候选项", position = 7)
	private String valueItems;

	/**
	 * 创建人
	 */
	@ApiModelProperty(value = "创建人", position = 8)
	private Long createUserId;

	/**
	 * 创建时间
	 */
	@ApiModelProperty(value = "创建时间", position = 9)
	private java.util.Date createTime;

	private String tenantId;

	/**
	 * 村租户标识
	 */
	@ApiModelProperty(value = "村租户标识", position = 11)
	private Long subTenantId;


}
